package com.ruoyi.model.message;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核记录对象 web_user_message
 *
 * @author 张怀秋
 * @date 2024-03-17
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("web_user_message")
public class UserMessage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记录主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 初说明
     */
    @Excel(name = "初说明")
    private String message;

    /**
     * 记录标题
     */
    @Excel(name = "记录标题")
    private String title;

    /**
     * 具体原因
     */
    @Excel(name = "具体原因")
    private String tangible;

    /**
     * 发送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private String userId;

    /**
     * 逻辑删除
     */
    @Excel(name = "逻辑删除")
    @TableLogic
    private String isDel;

    private Integer status;

}
